/// <license>
/// Copyright (c) 2002-2008, DotNetNuke Corporation
/// All rights reserved
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
/// documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
/// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
/// to permit persons to whom the Software is furnished to do so, subject to the following conditions:
///
/// The above copyright notice and this permission notice shall be included in all copies or substantial portions 
/// of the Software.
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
/// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
/// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
/// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
/// DEALINGS IN THE SOFTWARE.
/// </license>

#region Using Statements

using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;

#endregion;

namespace DotNetNuke.Modules.Articles.Common
{
    /// -----------------------------------------------------------------------------
    /// <summary>
    /// The Constants Class provides Constants for the Project
    /// </summary>
    /// <history>
    /// 	[cnurse]	02/01/2006	created
    /// </history>
    /// -----------------------------------------------------------------------------
    public class Constants : DotNetNuke.ModuleToolkit.Common.Constants
    {
        #region Internal Constants

        internal const string ACTION_AddArticle = "AddArticle";
        internal const string ACTION_DeleteArticle = "DeleteArticle.Action";
        internal const string ACTION_DeletePage = "DeletePage.Action";
        internal const string ACTION_DeleteSection = "DeleteSection.Action";
        internal const string ACTION_EditSection = "EditSection.Action";
        internal const string ACTION_EditPage = "EditPage.Action";
        internal const string ACTION_EditArticle = "EditArticle.Action";
        internal const string ACTION_Moderate = "Moderate.Action";
        internal const string ACTION_MyArticles = "MyArticles.Action";
        internal const string ACTION_NewArticle = "AddArticle.Action";
        internal const string ACTION_NewPage = "AddPage.Action";
        internal const string ACTION_NewSection = "AddSection.Action";

        internal const string ACTIONIMAGE_Moderate = "icon_lists_16px.gif";
        internal const string ACTIONIMAGE_MyArticles = "icon_hostusers_16px.gif";

        internal const string CATEGORY_Basic = "Basic";
        internal const string CATEGORY_Abstract = "Abstract";
        internal const string CATEGORY_Article = "Article";

        internal const string CONFIRM_DeleteArticle = "DeleteArticle.Confirm";
        internal const string CONFIRM_DeletePage = "DeletePage.Confirm";
        internal const string CONFIRM_DeleteSection = "DeleteSection.Confirm";

        internal const string DEFAULT_Title = "More News";

        internal const string IMAGE_Abstract = "~/DesktopModules/Articles/images/abstract.png";
        internal const string IMAGE_Article = "~/DesktopModules/Articles/images/article.png";
        internal const string IMAGE_MultiPage = "~/DesktopModules/Articles/images/multipage.gif";
        internal const string IMAGE_Settings = "~/DesktopModules/Articles/images/settings.png";
        internal const string IMAGE_SinglePage = "~/DesktopModules/Articles/images/singlepage.gif";

        internal const string JS_FilePath = "~/DesktopModules/Articles/js/Tabstrip.js";
        internal const string JS_ShowPane = @"javascript:__ShowPane('{0}',  '{1}');";

        internal const string KEY_AddArticle = "AddArticle";
        internal const string KEY_AddPage = "AddPage";
        internal const string KEY_AddSection = "AddSection";
        internal const string KEY_DeletedText = "DeletedText";
        internal const string KEY_DraftText = "DraftText";
        internal const string KEY_EditArticle = "EditArticle";
        internal const string KEY_EditPage = "EditPage";
        internal const string KEY_EditSection = "EditSection";
        internal const string KEY_Moderate = "Moderate";
        internal const string KEY_MyArticles = "MyArticles";
        internal const string KEY_NewArticle = "NewArticle";
        internal const string KEY_NewPage = "NewPage";
        internal const string KEY_NewSection = "NewSection";
        internal const string KEY_PageIndex = "PageIndex";
        internal const string KEY_PageNo = "PageNo";
        internal const string KEY_PageTitle = "PageTitle";
        internal const string KEY_ReadMore = "ReadMore";
        internal const string KEY_ViewArticle = "ViewArticle";
        internal const string KEY_ViewSection = "ViewSection";

        internal const string PARAM_ArticleId = "ArticleId";
        internal const string PARAM_PageMode = "PageMode";
        internal const string PARAM_PageNo = "PageNo";
        internal const string PARAM_ParentSection = "ParentSection";
        internal const string PARAM_SectionId = "SectionId";

        internal const DateMode SETTING_DateMode = DateMode.Updated;
        internal const ImageAlign SETTING_ImageAlign = ImageAlign.NotSet;
        internal const int SETTING_ImageMaxHeight = 200;
        internal const int SETTING_ImageMaxWidth = 350;

        internal const string TEXT_Author = "Author";
        internal const string TEXT_DefaultPageSpacer = "&nbsp;|&nbsp;";
        internal const string TEXT_LoremIpsumLong = @"Lorem ipsum dolor sit amet, consectetuer 
            adipiscing elit. Cras eget massa. Nullam nunc quam, semper ut, vulputate sit amet, 
            semper eu, ante. Ut suscipit felis venenatis nisl. Nulla vel odio. Nunc turpis sem, 
            elementum sed, fermentum et, pulvinar id, urna. In ipsum nunc, tempor sodales, 
            convallis et, commodo sed, nisl. Vivamus a mauris sit amet magna convallis hendrerit. 
            Vivamus augue libero, egestas eu, rutrum quis, placerat dignissim, leo. Phasellus 
            posuere felis a augue. Maecenas quis odio quis velit rutrum ultrices. Duis vitae 
            magna sed lectus faucibus auctor. Nulla facilisi. In sapien quam, bibendum sed, dapibus 
            quis, dapibus at, lectus.
            </p>
            <p>
            Nulla quam. Vestibulum molestie, metus et semper euismod, diam lorem cursus odio, 
            vitae sollicitudin odio erat non libero. Nullam mollis, tellus tristique sagittis 
            euismod, sapien lectus elementum magna, eget tempus dui lectus vel neque. Nunc luctus, 
            turpis sit amet rutrum blandit, felis quam aliquam ligula, et viverra ipsum diam ac 
            dolor. Ut malesuada pharetra velit. Maecenas ac erat quis nisl sodales iaculis. Cras 
            varius eleifend magna. Praesent sagittis, felis vel sollicitudin accumsan, magna tortor 
            scelerisque mi, a molestie justo urna sit amet massa. Donec posuere mauris vel libero. 
            Nullam tincidunt, nulla a ultrices fermentum, massa lorem ultrices est, a egestas nulla 
            elit nec arcu. Nulla sed urna. Vestibulum at enim sed diam volutpat mollis. Aliquam sit 
            amet erat at magna mollis sollicitudin. Vestibulum ante ipsum primis in faucibus orci 
            luctus et ultrices posuere cubilia Curae; Phasellus odio metus, porttitor a, adipiscing 
            ut, viverra quis, mi. Fusce nec diam. Quisque aliquet dui nec augue. Praesent malesuada 
            pulvinar velit. Pellentesque imperdiet. Proin nec purus et odio vestibulum congue.
            </p>
            <p>
            Aliquam malesuada porttitor ligula. Donec commodo. Nulla purus nisl, vestibulum in, 
            ullamcorper quis, pellentesque non, est. Sed ultrices ante id arcu fermentum eleifend. 
            Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos 
            hymenaeos. Morbi porttitor. Cras volutpat nisl sed orci. Vestibulum nec neque et tortor 
            sodales sagittis. Fusce nisl enim, ultrices non, laoreet eu, vestibulum in, sem. Aliquam 
            nonummy. Aenean sit amet odio. In at mi. Quisque ultricies, libero vitae aliquet ornare, 
            est augue consectetuer odio, vitae auctor nisi elit quis nisl. Integer varius. Nunc ac 
            orci et orci pellentesque dapibus. Suspendisse et elit.";
        internal const string TEXT_LoremIpsumShort = @"Lorem ipsum dolor sit amet, consectetuer 
            adipiscing elit. Curabitur sit amet purus. Curabitur ornare molestie est. Sed nulla. 
            Vestibulum eu dui vitae diam blandit fringilla. Aliquam vel nulla. Mauris mauris. Duis 
            ut pede faucibus erat placerat ornare. Ut eget magna. Fusce gravida porta purus. Sed 
            lectus. Maecenas convallis purus ac libero. Fusce lacinia, lorem id dignissim lacinia, 
            turpis neque ornare leo, porta pharetra magna eros in urna. Mauris lectus. Cras consequat 
            purus sit amet mi. Maecenas tempus, mauris ac pretium dictum, lectus nibh laoreet nisl, 
            ut elementum risus purus ac eros. Pellentesque scelerisque.";
        internal const string TEXT_Mode = "Edit/View";
        internal const string TEXT_NotSpecified = "NotSpecified";
        internal const string TEXT_ReadMore = "Read More ...";
        internal const string TEXT_SectionName = "Section Name";
        internal const string TEXT_SubTitle = "Sub Title";
        internal const string TEXT_Title = "Title";

        internal const string TYPE_Article = "Article";
        internal const string TYPE_Section = "Section";
        internal const string TYPE_Settings = "Settings";

        internal const string VIEW_AccessDenied = "AccessDenied.ascx";
        internal const string VIEW_ConfigureModule = "ConfigureModule.ascx";
        internal const string VIEW_EditArticle = "EditArticle.ascx";
        internal const string VIEW_EditPage = "EditPage.ascx";
        internal const string VIEW_EditSection = "EditSection.ascx";
        internal const string VIEW_Moderate = "Moderate.ascx";
        internal const string VIEW_ModuleHelp = @"Help/ModuleHelp.ascx";
        internal const string VIEW_ModuleIntro = @"Help/ModuleIntro.ascx";
        internal const string VIEW_MyArticles = "MyArticles.ascx";
        internal const string VIEW_NoArticles = @"Help/NoArticles.ascx";
        internal const string VIEW_SectionIntro = @"Help/SectionIntro.ascx";
        internal const string VIEW_ViewSection = "ViewSection.ascx";

        #endregion

        #region Public Constants

        public const string LOCALIZATION_ResourceFile = "~/DesktopModules/Articles/App_LocalResources/SharedResources.resx";

        public const string SETTING_Configured = "Articles_Configured";
        public const string SETTING_CreatorCanDelete = "Articles_CreatorCanDelete";
        public const string SETTING_DefaultArticle = "Articles_DefaultArticle";
        public const string SETTING_DefaultSection = "Articles_DefaultSection";
        public const string SETTING_DetailTabId = "Articles_DetailTabId";
        public const string SETTING_DefaultView = "Articles_DefaultView";
        public const string SETTING_UseModeration = "Articles_UseModeration";

        public const string VIEW_ViewArticle = "ViewArticle.ascx";

        #endregion

    }
}
